import Vue from "vue";
import App from "./App.vue";
import router from "./router";
import store from "./store";
import Axios from 'axios';

Vue.config.productionTip = false;
Vue.prototype.$axios = Axios
import URL from './util/URL'
Vue.prototype.$URL = URL
Vue.prototype.url = 'http://localhost:3000'
import { Button,Popup,Icon,Swipe, SwipeItem,Collapse, CollapseItem,Lazyload  } from 'vant';

import 'view-design/dist/styles/iview.css';
import ViewUI from 'view-design';
Vue.use(ViewUI);
Vue.use(Button);
Vue.use(Popup);
Vue.use(Icon);
Vue.use(Swipe);
Vue.use(SwipeItem);
Vue.use(Collapse);
Vue.use(CollapseItem);
Vue.use(Lazyload);
new Vue({
  router,
  store,
  render: h => h(App)
}).$mount("#app");
